// Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
// This source file is part of the Cangjie project, licensed under Apache-2.0
// with Runtime Library Exception.
//
// See https://cangjie-lang.cn/pages/LICENSE for license information.

#ifndef CANGJIE_MIGRATOR_DEVECO_LOG
#define CANGJIE_MIGRATOR_DEVECO_LOG

#include <vector>
#include <string>

#include "Path.h"

namespace CangjieMigrator::Deveco {

class Log {
public:
    explicit Log(std::vector<std::string> content);

    std::vector<std::string> content;

    [[nodiscard]] std::string ToString() const;

    static std::vector<Log> ReadLogsAndSelectDebug(const Path &logFile);
};

} // namespace CangjieMigrator::Deveco

#endif // CANGJIE_MIGRATOR_DEVECO_LOG
